package com.itheima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.entity.WmNews;

import java.lang.reflect.InvocationTargetException;

/**
 * @author Administrator
 */
public interface WmNewsAutoScanService {

    /**
     * 自媒体文章自动审核
     * @param newsId  自媒体文章id
     */
    void autoScanNews(Long newsId) throws InvocationTargetException, IllegalAccessException;

    /**
     * 定时任务发布
     */
     ResponseResult saveArticle(WmNews wmNews) throws InvocationTargetException, IllegalAccessException;
}